﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" CodeBehind="Default.aspx.cs"
    Inherits="Widget._Default" Title="Distance Learning Courses, Correspondence Courses Delhi India, Distance Learning  Courses in India, Distance Education in India?" %>

<asp:Content ID="headContent" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <div>
        <h1>
            CHAT DEMO
        </h1>
        <table border="2" style="width:100%">
            <tr>
                <td>
                    <script type="text/javascript">
                        /* in Pixel*/
                        var GO_CHAT_WIDTH = 350;
                        /* in Pixel*/
                        var GO_CHAT_HEIGHT = 400;
                    </script>
                    <script src="Scripts/api/wcfchat.js" type="text/javascript"></script>
                   <%-- <iframe src='/service/chatform.aspx' />--%>
                    <%--FRAMEBORDER='0' style='width:100%; border:0; background-color:#000000; height:100%; overflow:hidden;' width='300px' height='350px'--%>
                </td>
                <td>
                    <input type="button" onclick="loadchat();" value="Load" />
                    <div id="chatdiv">
                    </div>
                    <script type="text/javascript">
                        function loadchat() {
                            $('#chatdiv').load('/Service/chatform.aspx');
                        }
                    </script>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
